package com.bartender.drink.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bartender.common.annotation.Excel;
import com.bartender.common.core.domain.BaseEntity;

/**
 * 酒品管理对象 drink
 * 
 * @author bartender
 * @date 2024-11-28
 */
public class Drink extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 酒款ID */
    private Long drinkId;

    /** 酒款 */
    @Excel(name = "酒款")
    private String drinkName;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 类别 */
    @Excel(name = "类别")
    private String category;

    /** 成本 */
    @Excel(name = "成本")
    private BigDecimal costPrice;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal sellPrice;

    /** 特色酒款 */
    @Excel(name = "特色酒款")
    private Integer isFeatured;

    /** 状态 */
    @Excel(name = "状态")
    private Integer drinkStatus;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedDate;

    public void setDrinkId(Long drinkId) 
    {
        this.drinkId = drinkId;
    }

    public Long getDrinkId() 
    {
        return drinkId;
    }
    public void setDrinkName(String drinkName) 
    {
        this.drinkName = drinkName;
    }

    public String getDrinkName() 
    {
        return drinkName;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setCostPrice(BigDecimal costPrice) 
    {
        this.costPrice = costPrice;
    }

    public BigDecimal getCostPrice() 
    {
        return costPrice;
    }
    public void setSellPrice(BigDecimal sellPrice) 
    {
        this.sellPrice = sellPrice;
    }

    public BigDecimal getSellPrice() 
    {
        return sellPrice;
    }
    public void setIsFeatured(Integer isFeatured) 
    {
        this.isFeatured = isFeatured;
    }

    public Integer getIsFeatured() 
    {
        return isFeatured;
    }
    public void setDrinkStatus(Integer drinkStatus) 
    {
        this.drinkStatus = drinkStatus;
    }

    public Integer getDrinkStatus() 
    {
        return drinkStatus;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }
    public void setUpdatedDate(Date updatedDate) 
    {
        this.updatedDate = updatedDate;
    }

    public Date getUpdatedDate() 
    {
        return updatedDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drinkId", getDrinkId())
            .append("drinkName", getDrinkName())
            .append("picture", getPicture())
            .append("description", getDescription())
            .append("category", getCategory())
            .append("costPrice", getCostPrice())
            .append("sellPrice", getSellPrice())
            .append("isFeatured", getIsFeatured())
            .append("drinkStatus", getDrinkStatus())
            .append("deptId", getDeptId())
            .append("createdDate", getCreatedDate())
            .append("updatedDate", getUpdatedDate())
            .toString();
    }
}
